package com.knight.mall.service;

import com.knight.mall.dto.PanicBuyProductDto;
import com.knight.mall.model.PanicBuying;
import com.knight.mall.model.PanicBuyingProduct;
import com.knight.mall.query.PanicBuyingQuery;

public interface PanicBuyingService extends CommonService<PanicBuying,PanicBuyingQuery>{
	/**
	 * 查询秒杀商品信息
	 * @param pdId
	 * @param num
	 * @param city
	 * @return
	 */
	public PanicBuyProductDto getPanicInfo(Long pdId, Integer num, String city, Long skuId);
	
	
	
	/**
	 * 判断是否包含该地址
	 * @param pb
	 * @param city
	 * @return
	 */
	public boolean isHasArea(PanicBuyingProduct pb, String city);
}
